/*
 * Copyright (c) gitee.com/jiandong001.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */


import { JavaScriptExecutorFactory } from '../JavaScriptExecutorFactory';
export abstract class ReactInstanceDevHelper {

  /** Request react instance recreation with JS debugging enabled. */
  public abstract  onReloadWithJSDebugger(proxyExecutorFactory: JavaScriptExecutorFactory): void // JavaJSExecutor.Factory

  /** Notify react instance manager about new JS bundle version downloaded from the server. */
  public abstract onJSBundleLoadedFromServer(): void

  /** Request to toggle the react element inspector. */
//  void toggleElementInspector(): void

  /** Get reference to top level #{link Activity} attached to react context */
//  @Nullable
//  Activity getCurrentActivity();

  public abstract getJavaScriptExecutorFactory(): JavaScriptExecutorFactory

//  @Nullable
//  View createRootView(String appKey);
//
//  void destroyRootView(View rootView);
}
